﻿<%@ Page Title="" Language="C#" MasterPageFile="~/TrangChu.Master" AutoEventWireup="true" CodeBehind="ThacMac.aspx.cs" Inherits="Airplane.ThacMac" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="ContentPlaceHolder2" runat="server">
    <asp:MultiView ID="MultiView1" runat="server">
        <asp:View ID="View1" runat="server">
            <table style="width:80%; font-size:medium;" align="center">
            <tr>
                <td colspan="2" align="center"><h2 style="color:red">Thắc mắc hoặc ý kiến của bạn</h2></td>
            </tr>
            <tr>
           <td colspan="2" align="center">
             <h4 style=" color:Blue;">Vui lòng nhập các thông tin dưới đây</h4>
           </td>
         </tr>
         <tr>
            <td align="right" style=" width:30%; padding-right:20px;">
                    Tiêu đề
            </td>
            <td align="left" style=" padding-left:20px; width:70%;"  >
               <asp:TextBox runat="server" Width="300px" ID="txtTieuDe"></asp:TextBox>
                <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" ErrorMessage="Chưa nhập tiêu đề " ForeColor="Red" ControlToValidate="txtTieuDe"></asp:RequiredFieldValidator>
            </td>
         </tr>
         <tr>
            <td align="right" style=" width:30%; padding-right:20px;">
                    Loại thắc mắc
            </td>
            <td align="left" style=" padding-left:20px;  width:70%; ">
               <asp:TextBox runat="server" Width="300px" ID="txtLoaiThacMac"></asp:TextBox>
               <asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" ErrorMessage="Chưa nhập loại thắc mắc " ForeColor="Red" ControlToValidate="txtLoaiThacMac"></asp:RequiredFieldValidator>
               
            </td>
         </tr>
         <tr>
            <td align="right" style=" width:30%; padding-right:20px;">
                    Nội dung
            </td>
            <td align="left" style=" padding-left:20px;  width:70%; ">
                <asp:TextBox ID="txtNoiDung" runat="server" TextMode="MultiLine" Width="300px" Height="150px" ></asp:TextBox>
                <asp:RequiredFieldValidator ID="RequiredFieldValidator3" runat="server" ErrorMessage="Chưa nhập Nội dung " ForeColor="Red" ControlToValidate="txtNoiDung"></asp:RequiredFieldValidator>
            </td>
         </tr>
         <tr>
            <td align="right" style=" width:30%; padding-right:20px;">
                    Email Người gửi
            </td>
            <td align="left" style=" padding-left:20px;  width:70%; ">
               <asp:TextBox runat="server" Width="300px" ID="txtEmailNguoiGui" ></asp:TextBox>
            </td>
         </tr>
         <tr>
         <td colspan="2" align="center">
             <asp:Label ID="lbThacMac" runat="server"  ForeColor="Red" Font-Size= "Large" Text=""></asp:Label>
         </td>
         </tr>
         <tr>
           <td colspan="2" align="center">
             <asp:Button ID="btnGui" runat="server"  Text="Gửi" Width="86px" Height="40px" 
                   Font-Size="Large" ForeColor="#0000CC" onclick="btnGui_Click" />                 
           </td>
         </tr>
            </table>
        </asp:View>
        <asp:View ID="View2" runat="server">
        <table style=" width:100%;">
        <tr>
           <td align="center">
              <h3 style=" color:Red;">Gửi thành công Hãng hàng không sẽ cố gắng trả lời trong thời gian sớm nhất</h3>
           </td>
        </tr>
     </table>
        </asp:View>
        
    </asp:MultiView>
</asp:Content>
